package com.maxsalad.uc.em;

/**
 * Created by 2014-400 on 2016-03-17.
 */
public enum OrderStatus {
    Init("Init", "初始化"),
    Submit("Submit", "已提交"),
    Cancel("Cancel", "已取消");

    private String code;
    private String name;

    OrderStatus(String code, String name) {
        this.code = code;
        this.name = name;
    }


    @Override
    public String toString() {
        return this.code;
    }

    public String toCnString() {
        return this.name;
    }
}
